﻿//-----------------------------------------------------------------------
// <copyright file="InteractiveModel.cs" company="SLWY Enterprises">
// * Copyright (C) 2017 四川商旅无忧科技有限公司 版权所有。
// * version : 1.0
// * author  : qinchaoyue
// * FileName: InteractiveModel.cs
// * history : created by qinchaoyue 2017-11-28 04:08:59
// </copyright>
//-----------------------------------------------------------------------

namespace Slwy.Logger.Models
{
    public class InteractiveModel : BaseLogModel
    {
        /// <summary>
        /// 模块名
        /// 业务模块名称
        /// </summary>
        public string BusinessName { get; set; } = string.Empty;

        /// <summary>
        /// 方法名
        /// 记录交互日志的方法名
        /// </summary>
        public string ThisMethod { get; set; } = string.Empty;

        /// <summary>
        /// 方法说明
        /// 方法注释说明
        /// </summary>
        public string ThisMethodNote { get; set; } = string.Empty;

        /// <summary>
        /// 发送地址
        /// 交互的接口地址
        /// </summary>
        public string SendAddress { get; set; } = string.Empty;

        /// <summary>
        /// 交互类型
        /// Post,Get，可为空
        /// </summary>
        public string SendType { get; set; } = string.Empty;

        /// <summary>
        /// 关键信息
        /// 关系信息说明
        /// </summary>
        public string KeyInfomation { get; set; } = string.Empty;

        /// <summary>
        /// 发送内容
        /// 发送的内容参数
        /// </summary>
        public string SendData { get; set; } = string.Empty;

        /// <summary>
        /// 接收内容
        /// 接收返回的内容信息
        /// </summary>
        public string ResponseData { get; set; } = string.Empty;
    }
}
